-
Notifications
You must be signed in to change notification settings - Fork 164
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add memory usage check to the CI #1028
Conversation
d2f5870
to
d69b19a
Compare
let line = line.unwrap(); | ||
if line.contains(&args.log_filter_str) { | ||
let iter = line.split_whitespace(); | ||
if let Some(Ok(value)) = iter.last().map(|last| last.parse::<u64>()) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
shouldn't we fail with an error if we've failed to parse an int from the matching line?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm not sure if that would be too fragile. There may be some lines in the log that matching the filter string by accident and I think we can just skip them.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Let's make the matching rule stricter then? I think we won't ever be confident in benchmarking results, if we may just skip relevant metrics
Signed-off-by: Monthon Klongklaew <monthonk@amazon.com>
Signed-off-by: Monthon Klongklaew <monthonk@amazon.com>
d69b19a
to
b3746db
Compare
Description of change
A first pass to monitor Mountpoint resource utilization. This change would capture peak memory usage from each benchmark run, save them in
gh-pages
branch, and compare the numbers to the previous commit the same way we do for performance regression check.Example for the results: https://monthonk.github.io/mountpoint-s3/dev/bench/peak_mem_usage/
Does this change impact existing behavior?
No
Does this change need a changelog entry in any of the crates?
No, benchmark change only
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license and I agree to the terms of the Developer Certificate of Origin (DCO).